package com.yonyou.cyxdms.sysAuth.service.mapper.notification;

import com.yonyou.cyx.framework.dao.base.SuperMapper;
import com.yonyou.cyxdms.sysAuth.service.dto.notification.NotificationDealerRoleListDTO;
import com.yonyou.cyxdms.sysAuth.service.entity.notification.NotificationDealerRolePO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 通知通告之经销商角色 Mapper 接口
 * </p>
 * @author adu
 * @since 2019-10-14
 */
@Repository
public interface NotificationDealerRoleMapper extends SuperMapper<NotificationDealerRolePO> {

    /**
     * 获取经销商角色类别信息
     * @param notificationId
     * @param isDelete
     * @return
     */
    List<NotificationDealerRoleListDTO> getNotificationDealerRole(Integer notificationId, Integer isDelete);
}
